/**
 * @author Extra
 * @description 演示迭代器
 */
'use strict';
let collection: Array<string> = ['foo', 'bar', 'baz'];
console.log(collection[Symbol.iterator]);
// collection.forEach(item => console.log(item));
let str: string = "dsfkfdkad";
console.log(str[Symbol.iterator]);
